﻿' Copyright © Microsoft Corporation.  All Rights Reserved.
' This code released under the terms of the 
' Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text

Namespace EncoderCmdlet

	''' <summary>
	''' An attribute that indicates that a property is a switch representing a preset
	''' </summary>
	Friend NotInheritable Class PresetSwitch
		Inherits Attribute
		''' <summary>
		''' Initializes a new instance of the PresetSwitch class.
		''' </summary>
		Public Sub New()
		End Sub
	End Class

	''' <summary>
	''' An attribute that indicates that a property is a switch representing an Attribute
	''' </summary>
	Friend NotInheritable Class TemplateSwitch
		Inherits Attribute
		''' <summary>
		''' Initializes a new instance of the TemplateSwitch class.
		''' </summary>
		''' <param name="propertyName">property name on the Templates collection that this template switch property this attribute is applied to maps to</param>
		Public Sub New(ByVal propertyName As String)
			Me.PropertyName = propertyName
		End Sub

		''' <summary>
		''' property name on the Templates collection that this template switch property this attribute is applied to maps to
		''' </summary>
		Private privatePropertyName As String
		Public Property PropertyName() As String
			Get
				Return privatePropertyName
			End Get
			Private Set(ByVal value As String)
				privatePropertyName = value
			End Set
		End Property
	End Class
End Namespace
